'Declaration Public Overloads Shared Function TryGetArray(Of T As IPdfObject)( _ ByVal array As IPdfArray, _ ByVal index As System.Integer, _ ByRef value() As T, _ ByVal singleToArray As System.Boolean, _ ByVal allowNulls As System.Boolean, _ ByVal addWarning As System.Boolean _ ) As System.Boolean
public static System.bool TryGetArray<T>( IPdfArray array, System.int index, out T[] value, System.bool singleToArray, System.bool allowNulls, System.bool addWarning ) where T: IPdfObject
Parameters
- array
- The current array.
- index
- The index of the value to get.
- value
- OUT: The array of T.
- singleToArray
- Indicates whether to convert a single T value to an array.
- allowNulls
- Indicates whether to handle IPdfNull as a null reference (Nothing in Visual Basic).
- addWarning
- Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
Type Parameters
- T
Return Value
Returns true if no errors occur.